package ae.pcfc.etks.online.common.vo;

import java.sql.SQLData;
import java.sql.SQLException;
import java.sql.SQLInput;
import java.sql.SQLOutput;
import java.sql.Struct;

public class ClientRolesType implements SQLData {
	private String sql_type ;
	public Struct array;
	
	public Struct getArray() {
		return array;
	}

	public void setArray(Struct array) {
		this.array = array;
	}

	public String getSQLTypeName() throws SQLException {
		return sql_type;
	}

	public void readSQL(SQLInput stream, String typeName) throws SQLException {
		sql_type =  typeName;
		array = (Struct) stream.readObject();		
	}

	public void writeSQL(SQLOutput stream) throws SQLException {
		stream.writeStruct(array);
	}

	public ClientRolesType() {
	}
}
